<template>
  <!--    <el-dialog :title="formTitle" :visible.sync="formConfOpen" width="60%" append-to-body close-on-press-escape>-->
  <!--      <div class="test-form">-->
  <!--        <parser :key="new Date().getTime()"  :form-conf="formConfig" />-->
  <!--        xxxxx-->
  <!--      </div>-->
  <!--    </el-dialog>-->
</template>
<script>
import formConfig from '@/json/file.json'
import Parser from '@/components/parser/Parser.vue'
export default {
  components: { Parser },
  data() {
    return {
      formTitle: '',
      formConfOpen: true,
      activeName: 1,
      formData: {}, // 用于存储表单数据
      rules: {}, // 用于表单验证规则
      formConfig: formConfig // 导入的表单配置信息
    }
  },
  methods: {
    handleSubmit() {
      // 处理表单提交逻辑
    }
  }
}
</script>
